package com.model.dto.base.serviceStation;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
public class UpdateConfirmStatusDTO {
    @ApiModelProperty(value = "站点ID",required = true)
    @NotNull(message = "站点ID不能为空")
    private Long stationId;

    @ApiModelProperty(value = "确认状态，0未确认，1已确认",allowableValues = "0,1")
    @Min(value = 0, message = "0:未确认，1:已确认")
    @Max(value = 1, message = "0:未确认，1:已确认")
    private Integer confirmStatus;
}
